package main

//生成随机数
import (
	"fmt"
	"math/rand"
	"time"
)

func main() {
	rand.Seed(time.Now().Unix())
	num := rand.Intn(2) + 1
	fmt.Println(num)

	nowDate := time.Now()
	fmt.Println(nowDate)
}
